/**
 * 
 */
package metier;

import java.util.Date;

/**
 * @author Quipu-Team
 *
 */
public abstract class Conge {
	private String description;
    private Date dateDebut;
    private Date dateFin;
    
    public Conge(){
	}
    
    public Conge(String decription,Date dateDeb, Date dateFin){
    	this.dateDebut=dateDeb;
    	this.dateFin=dateFin;
    	
    }
	/**
	 * @return the dateDebut
	 */
	public Date getDateDebut() {
		return dateDebut;
	}
	/**
	 * @param dateDebut the dateDebut to set
	 */
	public void setDateDebut(Date dateDebut) {
		this.dateDebut = dateDebut;
	}
	/**
	 * @return the dateFin
	 */
	public Date getDateFin() {
		return dateFin;
	}
	/**
	 * @param dateFin the dateFin to set
	 */
	public void setDateFin(Date dateFin) {
		this.dateFin = dateFin;
	}
    
	public abstract void insert() throws ExceptionMetier;
	/**
	 * @throws ExceptionMetier 
	 * M�thode qui permet de mettre � jour le semestre dans le syst�me de stockage
	 */
	public abstract void update() throws ExceptionMetier;
	/**
	 * @param idSemestre l'identifiant unique de la seance
	 * @throws ExceptionMetier 
	 * M�thode qui permet de charger le semestre � partir du syst�me de stockage
	 */
	public abstract void load(int idSemestre) throws ExceptionMetier;
	/**
	 * @throws ExceptionMetier 
	 * M�thode qui permet de supprimer le semestre dans le syst�me de stockage
	 */
	public abstract void delete() throws ExceptionMetier;
	/**
	 * @throws ExceptionMetier 
	 * M�thode qui permet de supprimer le semestre dans le syst�me de stockage
	 */
	public abstract void delete(AnneeEtude annee) throws ExceptionMetier;

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

  
}
